{% extends '_base.html' %}

{% block top_css %}
    {{ super() }}

    <!--Select2-->
    <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='plugins/select2/css/select2.min.css') }}">
    <!--Daterangepicker-->
    <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='plugins/daterangepicker/daterangepicker.css') }}">
    <!--bootstrap-table-->
    <link href="{{ url_for('static', filename='plugins/bootstrap-table/bootstrap-table.min.css') }}" rel="stylesheet">

{% endblock %}


{% block content %}
    <div id="content-container">
        <!--头部-->
        <div id="page-head">
            <!--头部标题-->
            <div id="page-title">
                <h1 class="page-header text-overflow">{% block head_title %}{% endblock %}</h1>
            </div>
            <!--导航标题-->
            {% block head_nav %}
            {% endblock %}
        </div>

        <!--内容-->
        <div id="page-content">
            {% block content_body %}
                <div class="panel panel-table">
                    {% block tip %}
{#                        <div class="alert alert-info mar-no">#}
{#                            <i class="fa fa-circle"></i>#}
{#                        </div>#}
                    {% endblock %}

                    <div class="panel-heading filter-heading">
                        {% block title_filter %}
                        {% endblock %}
                    </div>

                    <div class="panel-body">
                        {% block body_operator %}
                        {% endblock %}
                        {% block body_table %}
                        {% endblock %}
                    </div>
                </div>
            {% endblock %}
        </div>
    </div>
{% endblock %}


{% block buttom_js %}
    {{ super() }}

    <!--Select2-->
    <script src="{{ url_for('static', filename='plugins/select2/js/select2.full.min.js') }}"></script>
    <script src="{{ url_for('static', filename='plugins/select2/js/i18n/zh-CN.js') }}"></script>
    <!--Daterangepicker-->
    <script src="{{ url_for('static', filename='plugins/daterangepicker/moment-with-locales.min.js') }}"></script>
    <script src="{{ url_for('static', filename='plugins/daterangepicker/daterangepicker.js') }}"></script>
    <!--Bootbox Modals-->
    <script src="{{ url_for('static', filename='plugins/bootbox/bootbox.min.js') }}"></script>
    <!--bootstrap-table-->
    <script src="{{ url_for('static', filename='plugins/bootstrap-table/bootstrap-table.min.js') }}"></script>
    <script src="{{ url_for('static', filename='plugins/bootstrap-table/locale/bootstrap-table-zh-CN.js') }}"></script>
    <!--jquery-cookie-->
    <script src="{{ url_for('static', filename='plugins/jquery-cookie/jquery.cookie.js') }}"></script>

{% endblock %}

